package com.njmaomao.gj.pyot.common.bean.dto;

import com.njmaomao.gj.pyot.common.bean.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;


@ApiModel(value = "微信国际报关查询参数")
public class DeclareQueryReqDTO extends BaseRequest {

    @ApiModelProperty(notes = "订单编码 必传",required = true)
    @NotBlank
    private String orderCode;

    @ApiModelProperty(notes = "子订单号 拆单时必传")
    private String subOrderNo;

    @ApiModelProperty(notes = "海关 必传；GUANGZHOU_ZS  广州（总署版）；GUANGZHOU_NS_GJ 广州南沙国检",required = true)
    @NotBlank
    @Pattern(regexp = "GUANGZHOU_ZS|GUANGZHOU_NS_GJ",message = "只能取值GUANGZHOU_ZS或者GUANGZHOU_NS_GJ")
    private String customs;

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getSubOrderNo() {
        return subOrderNo;
    }

    public void setSubOrderNo(String subOrderNo) {
        this.subOrderNo = subOrderNo;
    }

    public String getCustoms() {
        return customs;
    }

    public void setCustoms(String customs) {
        this.customs = customs;
    }

}
